﻿using System;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using AnyOffice.Components;
using AnyOffice.DAL;


namespace AnyOffice.general.rms.roll_manage
{
    public partial class status : ModulePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            int num = (Request.QueryString["page"] != null) ? int.Parse(Request.QueryString["page"].ToString()) : 1;
            this.ViewState["CurrentPage"] = num;
            int rollId = (Request.QueryString["roll_id"] != null) ? int.Parse(Request.QueryString["roll_id"].ToString()) : 0;
            this.ViewState["RollId"] = rollId;
            new RmsRollDao().Status(base.Conn, rollId);
            base.CloseConn();
            Response.Redirect("index1.aspx?page=" + num.ToString());


        }
    }
}
